package org.meb.speedway.model.common;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Version;

import lombok.Getter;
import lombok.Setter;

@Entity
@Table(name = "t_config")
@Getter
@Setter
public class Config {

	@Id
	@Column(length = 20)
	private String code;

	@Version
	private Long version;

	@Column(name = "text_value", length = 100)
	private String text;

	@Column(name = "number_value")
	private BigDecimal number;

	@Column(name = "date_value")
	private Date date;
}
